home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / C / LSAM.ZIP / BKUP.BAT < prev    next >
Encoding:
DOS Batch File  |  1988-02-02  |  1.3 KB  |  46 lines

  1. echo off
  2. rem      batch file to set required environ vars and run demo bkup.exe
  3. cls
  4. echo      If you do not have all demo files for LSAM in this subdirectory,
  5. echo      hit CTL-C or CTL-BREAK and move them here (to keep things simple).
  6. echo      When you are ready, restart this batch file.
  7. pause
  8. cls
  9. rem      NOTICE  - If for some reason you have scattered these files,
  10. rem            insert 'd:\path' in environment vars below with demo
  11. rem            path information (i.e. where you dumped the demo files).
  12. rem            They should look similar to the following:
  13. rem             set sample=d:\path\sample.bin
  14. rem             set bkup=d:\path\sampleb.bin
  15. rem             set lsamrtl=d:\path\lsam.rtl
  16. rem             set lsamixalloc=3
  17. set input=sample.bin
  18. set output=sampleb.bin
  19. set lsamrtl=lsam.rtl
  20. set lsamixalloc=3
  21. set
  22. echo  Note - environment set for bkup.exe demo
  23. pause
  24. cls
  25. del bkup.dat >nul
  26. del bkup.i00 >nul
  27. rem
  28. rem command-line format:
  29. rem   program name, env.var->input parm file, env.var->output parm file
  30. rem
  31. bkup input output
  32. pause
  33. cls
  34. echo About to reset environment to previous setting
  35. pause
  36. set input=
  37. set output=
  38. set lsamrtl=
  39. set lsamixalloc=
  40. set
  41. echo Environment reset.  End of demo.  Suggest inspecting input and output
  42. echo files w/Norton utilities or some other dump utility to see reorganized
  43. echo output index and data.
  44. pause
  45. cls
  46.